import '../styles/index.css';
import pic from '../assets/demo.jpg';
window.addEventListener('DOMContentLoaded', function () {
  const root = document.getElementById('root');
  root.getElementsByTagName('h1')[0].innerText = 'Webtask tpl esnext';
  const img = new Image();
  img.src = pic;
  root.appendChild(img);
});